Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting


Debugging from the OpenEdge command line

Starting the Debugger from the command line using the Debugger startup parameter (-debug) runs the Debugger in stand-alone mode.

To start a debugging session from the OpenEdge command line, run the client session with the Debugger (-debug) startup parameter, as in the following example:

pro sports -debug 

The Debugger is the entry point for all application procedures you want to run. The Debugger starts and allows you to open a procedure and set breakpoints in the procedure before running it, using Debug Run.

To start a single-user debugging session from the OpenEdge command line and start debugging the arrmenu.p procedure, run the client session with the Startup Procedure (-p) startup parameter, as in the following example:

pro sports -p arrmenu.p -debug 

This command runs the Debugger in stand-alone mode, ready to execute and debug arrmenu.p (or any other procedures you choose). An automatic breakpoint is set on the first executable line of arrmenu.p.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095